import 'package:flutter_utils_plus/core/number.dart';

void testNumber() {
  print('0.1 + 0.2 = ${0.1 + 0.2}');
  print(calcAdd(0.1, 0.2));
  print('0.312 - 0.234 = ${0.312 - 0.234}');
  print(calcSubtract(0.312, 0.234));
  print('0.1 * 0.2 = ${0.1 * 0.2}');
  print(calcMultiply(0.1, 0.2));
  print('0.312 / 0.1 = ${0.312 / 0.1}');
  print(calcDivide(0.312, 0.1));
  print('312 + 3 = ${312 + 3}');
  print(calcAdd(312, 3));
  print('312 / 3 = ${312 / 3}');
  print(calcDivide(312, 3));
  print(toNumber('3245.55666'));
  print(toInt('3245.555666'));
  print(toFixed(3245.555666));
  print(meterToFt(10));
  print(ftToMeter(33));
  print(meter2ToFt2(100));
  print(ft2ToMeter2(1076));
  print(celsiusToFahrenheit(100));
  print(fahrenheitToCelsius(212));
}
